﻿using System;
using Jayden.Dll.Web.Enums;
using Jayden.Dll.Web.HtmlControls.Descriptions;
using Jayden.Dll.Web.HtmlControls.Generics;

namespace Jayden.Dll.Web.HtmlControls
{
	public class Br : HtmlElement
	{
		public Br() : base(BrDescription.Instance) { }
	}
	public class BrDescription : HtmlElementDescription
	{
		public static readonly BrDescription Instance = new BrDescription();
		private BrDescription() : base("br", HtmlVersion.Html4, false, false) { }
		public override Type ControlType { get { return typeof(Br); } }
		public override bool IsPhrasingElement { get { return true; } }
		public override string Description { get { return "line break."; } }
	}
	public class WBr : HtmlElement
	{
		public WBr() : base(WBrDescription.Instance) { }
	}
	public class WBrDescription : HtmlElementDescription
	{
		public static readonly WBrDescription Instance = new WBrDescription();
		private WBrDescription() : base("wbr", HtmlVersion.Html5, false, false) { }
		public override Type ControlType { get { return typeof(WBr); } }
		public override bool IsPhrasingElement { get { return true; } }
		public override string Description { get { return "line-break opportunity."; } }
	}
}
